<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
//  let a = void();
//     console.log(a);

// var num = '5'
// var abc = num + 10
// console.log(abc.constructor === Number);

// let num = 0.1 + 0.2
// console.log(num);
// console.log(typeof (0.1 + 0.2) );

// var str = 'what is this'

// var x = str.search('is')

// console.log(x);


var foo;
var bar = {
  name:'zs',
  email:'weq@qq.com',
  say:function(){

  }
}

for(foo in bar){
  // output(foo)
  console.log(foo);
}

// console.log(foo);


// let a = window.navigator.userAgent

// console.log(a);

// document.getElementsByClassName
// for(var i = 0; i < 5; i++) {
//   function(i){
//     setTimeout
//   }
// }
  </script>
</body>
</html>